<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>MyISERN 2.0 - Display Organizations</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="cache-control" content="no-cache">
<link href="default.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<script type="text/javascript" src="ajax/prototype.js"></script>
<script type="text/javascript" src="ajax/common.js"></script>
<script type="text/javascript" src="ajax/actb.js"></script>
<link href="SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css" />
<script src="SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script>
</head>

<body>

<div id="logo">
	<h1>Myisern</h1>
</div>

<%@ include file="menu.jsp" %>

<!-- end #menu -->



<div id="page">

  <div id="welcome" class="post">
	<div class="title">
	  <h2 align="center"><span class="style8">Welcome to MyIsern!</span></h2>
	</div>
    
    <div class="story">
    
            <div class="post">
		<h1 class="title" align="center">Display Organizations</h1>
			<table>
				<tbody>
					<tr>
						<td align="center" class="style1"><span class="style2">${actionBean.errorMessage}</span></td>
					</tr>
				</tbody>
			</table>
	            <div class="entry">
			        <c:forEach var="element" items="${actionBean.organizations}">
						<div id="CollapsiblePanel1" class="CollapsiblePanel">
							<div class="CollapsiblePanelTab" tabindex="0">
								<table width="100%">
									<tr>
										<td>
											${element.name}
										</td>
										<td align="right">
											<stripes:link href="/Organization.action" event="displayEdit">Edit
											<stripes:param name="name" value="${element.name}"/></stripes:link>
										</td>
									</tr>
								</table>
							</div>
							<div class="CollapsiblePanelContent style1">
								<table cellpadding="5" border="1" width="100%" class="display">
									<tbody>
										<tr align="left">
											<td><span class="style1"><strong>Type</strong></span></td>
											<td>
												<table><tbody><tr><td width="129"><span class="style1">${element.type}</span></td></tr></tbody></table>											</td>
										</tr>
										<tr align="left">
											<td><span class="style1"><strong>Contact</strong></span></td>
											<td>
												<table><tbody><tr><td class="style1">
													<stripes:link href="/Researcher.action" event="displayEdit">${element.contact}
													<stripes:param name="name" value="${element.contact}"/></stripes:link>
												</td></tr></tbody></table>
											</td>
										</tr>
										<tr align="left">
											<td><span class="style1"><strong>Affiliated-Researchers</strong></span></td>
											<td>
												<table>
													<tbody>
														<c:forEach var="element1" items="${element.affiliatedResearchers.affiliatedResearcher}">
															<tr align="left">	
																<td class="style1">
																	<stripes:link href="/Researcher.action" event="displayEdit">${element1}
																	<stripes:param name="name" value="${element1}"/></stripes:link>
																</td>
															</tr>
														</c:forEach>
													</tbody>
												</table>											</td>
										</tr>
										<tr align="left">
											<td><span class="style1"><strong>Country</strong></span></td>
											<td>
												<table><tbody><tr><td class="style1">${element.country}</td></tr></tbody></table>											</td>
										</tr>
										<tr align="left">
											<td><span class="style1"><strong>Research-Keywords</strong></span></td>
											<td>
												<table>
													<tbody>
														<c:forEach var="element2" items="${element.researchKeywords.researchKeyword}">
															<tr align="left">
																<td class="style1">${element2}</td>
															</tr>
														</c:forEach>
													</tbody>
												</table>											</td>
										</tr>
										<tr align="left">
											<td><span class="style1"><strong>Research-Description</strong></span></td>
											<td>
												<table><tbody><tr><td class="style1">${element.researchDescription}</td></tr></tbody></table>											</td>
										</tr>
										<tr align="left">
											<td><span class="style1"><strong>Home Page</strong></span></td>
											<td>
												<table><tbody><tr><td class="style1">
													<stripes:link href="${element.homePage}">${element.homePage}</stripes:link>
												</td></tr></tbody></table>
											</td>
										</tr>
									</tbody>
								</table>
							</div>
						</div>
						<span class="style1">
						<script type="text/javascript">
								var acc1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1", { contentIsOpen: false });
						</script> 
					    </span>
					</c:forEach>
			</div>
		</div>
	</div>
    
    
    
    </div>
  </div>
		
    <!-- end #content -->
	<!-- end #sidebar -->
    
 <div id="extra" style="clear: both;">&nbsp;</div>
</div>


<!-- end #page -->

<div id="footer">
	<p id="legal"><span class="style6">Copyright &copy; 2007 Eclipse. All Rights Reserved.</span></p>
</div>


</body>
</html>
